package com.chinairi.mall.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * <p>
 * 收/发货地址表
 * </p>
 *
 * @author gsl
 * @since 2020-10-18
 */
@TableName("RE_SE_ADDRESS")
public class ReSeAddress extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 收/发货地址主键
     */
    @TableId("RSA_ID")
    private String rsaId;

    /**
     * 用户编号
     */
    @TableField("RSA_USER_CODE")
    private String rsaUserCode;

    /**
     * 收/发货人
     */
    @TableField("RSA_MAN")
    private String rsaMan;

    /**
     * 收/发货地址
     */
    @TableField("RSA_LOCATION")
    private String rsaLocation;

    /**
     * 收/发货详细地址
     */
    @TableField("RSA_ADDR")
    private String rsaAddr;

    /**
     * 手机号码
     */
    @TableField("RSA_PHONE")
    private String rsaPhone;

    /**
     * 邮编
     */
    @TableField("RSA_POSTAL_CODE")
    private String rsaPostalCode;

    /**
     * 收/发货人单位
     */
    @TableField("RSA_UNIT")
    private String rsaUnit;

    /**
     * 是否是默认地址（1：是，0否）
     */
    @TableField("RSA_IS_DEFAULT")
    private String rsaIsDefault;

    /**
     * 类型（收货1，发货2）
     */
    @TableField("RSA_TYPE")
    private Integer rsaType;

    public String getRsaId() {
        return rsaId;
    }

    public void setRsaId(String rsaId) {
        this.rsaId = rsaId;
    }
    public String getRsaUserCode() {
        return rsaUserCode;
    }

    public void setRsaUserCode(String rsaUserCode) {
        this.rsaUserCode = rsaUserCode;
    }
    public String getRsaMan() {
        return rsaMan;
    }

    public void setRsaMan(String rsaMan) {
        this.rsaMan = rsaMan;
    }
    public String getRsaLocation() {
        return rsaLocation;
    }

    public void setRsaLocation(String rsaLocation) {
        this.rsaLocation = rsaLocation;
    }
    public String getRsaAddr() {
        return rsaAddr;
    }

    public void setRsaAddr(String rsaAddr) {
        this.rsaAddr = rsaAddr;
    }
    public String getRsaPhone() {
        return rsaPhone;
    }

    public void setRsaPhone(String rsaPhone) {
        this.rsaPhone = rsaPhone;
    }
    public String getRsaPostalCode() {
        return rsaPostalCode;
    }

    public void setRsaPostalCode(String rsaPostalCode) {
        this.rsaPostalCode = rsaPostalCode;
    }
    public String getRsaUnit() {
        return rsaUnit;
    }

    public void setRsaUnit(String rsaUnit) {
        this.rsaUnit = rsaUnit;
    }
    public String getRsaIsDefault() {
        return rsaIsDefault;
    }

    public void setRsaIsDefault(String rsaIsDefault) {
        this.rsaIsDefault = rsaIsDefault;
    }
    public Integer getRsaType() {
        return rsaType;
    }

    public void setRsaType(Integer rsaType) {
        this.rsaType = rsaType;
    }

    @Override
    public String toString() {
        return "ReSeAddress{" +
            "rsaId=" + rsaId +
            ", rsaUserCode=" + rsaUserCode +
            ", rsaMan=" + rsaMan +
            ", rsaLocation=" + rsaLocation +
            ", rsaAddr=" + rsaAddr +
            ", rsaPhone=" + rsaPhone +
            ", rsaPostalCode=" + rsaPostalCode +
            ", rsaUnit=" + rsaUnit +
            ", rsaIsDefault=" + rsaIsDefault +
            ", rsaType=" + rsaType +
        "}";
    }
}
